<Project Name>

Use Case Specification: <Use-Case Name>

 

Version <1.0>

 

[Note: The following template is provided for use with the Rational Unified Process. Text enclosed in square brackets and displayed in blue italics (style=InfoBlue) is included to provide guidance to the author and should be deleted before publishing the document. A paragraph entered following this style will automatically be set to normal (style=Body Text).]

[To customize automatic fields (which display a gray background when selected), select File>Properties and replace the Title, Subject and Company fields with the appropriate information for this document.ááá After closing the dialog, automatic fields may be updated throughout the document by selecting Edit>Select All (or Ctrl-A) and pressing F9, or simply click on the field and press F9.á This must be done separately for Headers and Footers.á Alt-F9 will toggle between displaying the field names and the field contents.á See Word help for more information on working with fields.]

 

 

 


Revision History

Date

Version

Description

Author

<dd/mmm/yy>

<x.x>

<details>

<name>

 

 

 

 

 

 

 

 

 

 

 

 

 


Table of Contents

1.ááááááááá Use Case Name 

1.1ááááá Brief Description     

2.ááááááááá Flow of Events

2.1ááááá Basic Flow     

2.2ááááá Alternative Flows     

2.2.1áááááá < First Alternative Flow >áááááá

2.2.2áááááá < Second Alternative Flow >áááááá

3.ááááááááá Special Requirements

3.1ááááá < First special requirement >ááááá

4.ááááááááá Pre-Conditions    

4.1ááááá < Pre-condition One >ááááá

5.ááááááááá Post-Conditions    

5.1ááááá < Post-condition One >     

6.ááááááááá Extension Points

6.1ááááá <name of extension point>     


Use Case Specification: <Use-Case Name>

1.                  Use Case Name

[The following template is provided for a Use-Case Specification, which contains the textual properties of the use case.  This document is used with a requirements management tool, such as Rational RequisitePro, for specifying and marking the requirements within the use case properties]

[The diagrams of the use case can be developed in a visual modeling tool, such as Rational Rose.  A use-case report (with all properties) may be generated with Rational SoDA.á For more information, see the tool mentors in the Rational Unified Process.]

1.1               Brief Description

[The description should briefly convey the role and purpose of the use case.á A single paragraph should suffice for this description.]

2.                  Flow of Events

2.1               Basic Flow

[This use case starts when the actor does something.á An actor always initiates use Cases.á The use case should describe what the actor does and what the system does in response.á It should be phrased in the form of a dialog between the actor and the system.

The use case should describe what happens inside the system, but not how or why.á If information is exchanged, be specific about what is passed back and forth.á For example, it is not very illuminating to say that the Actor enters customer information. It is better to say the Actor enters the customerÆs name and address.á A Glossary of Terms is often useful to keep the complexity of the use case manageableyou may want to define things like customer information there to keep the use case from drowning in details.

Simple alternatives may be presented within the text of the use case.á If it only takes a few sentences to describe what happens when there is an alternative, do it directly within the Flow of Events section.á If the alternative flows are more complex, use a separate section to describe it.á For example, an Alternative Flow subsection explains how to describe more complex alternatives.

A picture is sometimes worth a thousand words, though there is no substitute for clean, clear prose.á If it improves clarity, feel free to paste graphical depictions of user interfaces, process flows or other figures into the use case.á If a flow chart is useful to present a complex decision process, by all means use it!á Similarly for state-dependent behavior, a state-transition diagram often clarifies the behavior of a system better than pages upon pages of text.á Use the right presentation medium for your problem, but be wary of using terminology, notations or figures that your audience may not understand.á Remember that your purpose is to clarify, not obscure.]

2.2               Alternative Flows

2.2.1          < First Alternative Flow >

[More complex alternatives should be described in a separate section, which is referred to in the Basic Flow subsection of Flow of Events section.á Think of the Alternative Flow subsections like alternative behavior each alternative flow represents alternative behavior, many times because of exceptions that occur in the main flow.á They may be as long as necessary to describe the events associated with the alternative behavior.á When an alternative flow ends, the events of the main flow of events are resumed unless otherwise stated.]

2.2.1.1     < An Alternative Sub-flow >

[Alternative flows may, in turn, be broken down into subsections if it improves clarity.]

2.2.2          < Second Alternative Flow >

[There may be, and most likely will be, a number of alternative flows in a use case.á Keep each alternative separate to improve clarity.á Using alternative flows improves the readability of the use case, as well as preventing use cases from being decomposed into hierarchies of use cases.á Keep in mind that use cases are just textual descriptions, and their main purpose is to document the behavior of a system in a clear, concise, and understandable way.]

3.                  Special Requirements

[A special requirement is typically a non-functional requirement that is specific to a use case, but is not easily or naturally specified in the text of the use caseÆs event flow. Examples of special requirements include legal and regulatory requirements, application standards, and quality attributes of the system to be built including usability, reliability, performance or supportability requirements. Additionally, other requirementssuch as operating systems and environments, compatibility requirements, and design constraintsshould be captured in this section.]

3.1               < First Special Requirement >

4.                  Pre-Conditions

[A pre-condition of a use case is the state of the system that must be present prior to a use case being performed.]

4.1               < Pre-condition One >

5.                  Post-Conditions

[A post-condition of a use case is a list of possible states the system can be in immediately after a use case has finished.]

5.1               < Post-condition One >

6.                  Extension Points

[Extension points of the use case.]

6.1               <Name of Extension Point>

[Definition of the location of the extension point in the flow of events.]